package com.lmc.entity;

import java.util.List;

public class HeartRate {

    /**
     * code : 200
     * msg : 查询成功
     * data : {"Total":1,"resultcount":[{"sum":1,"diseasestate":"正常","diseasestateid":3}],"resultother":[],"resultLast":{"censusid":"e30ed660807911eaa4525587e61f87a2","username":"18476742323","age":0,"gender":"1","instrument":"1","diseasestate":"正常","diseasestateid":3,"value":"100","province":"","city":"","date":1587107157702,"remarks":null,"device_id":"0985d220ff76ecb20d54c29c969656a9","suggest":"建议身体健康"},"result":[{"censusid":"e30ed660807911eaa4525587e61f87a2","username":"18476742323","age":0,"gender":"1","instrument":"1","diseasestate":"正常","diseasestateid":3,"value":"100","province":"","city":"","date":1587107157702,"remarks":null,"device_id":"0985d220ff76ecb20d54c29c969656a9","suggest":"建议身体健康","diseasestate_describe":""}]}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * Total : 1
         * resultcount : [{"sum":1,"diseasestate":"正常","diseasestateid":3}]
         * resultother : []
         * resultLast : {"censusid":"e30ed660807911eaa4525587e61f87a2","username":"18476742323","age":0,"gender":"1","instrument":"1","diseasestate":"正常","diseasestateid":3,"value":"100","province":"","city":"","date":1587107157702,"remarks":null,"device_id":"0985d220ff76ecb20d54c29c969656a9","suggest":"建议身体健康"}
         * result : [{"censusid":"e30ed660807911eaa4525587e61f87a2","username":"18476742323","age":0,"gender":"1","instrument":"1","diseasestate":"正常","diseasestateid":3,"value":"100","province":"","city":"","date":1587107157702,"remarks":null,"device_id":"0985d220ff76ecb20d54c29c969656a9","suggest":"建议身体健康","diseasestate_describe":""}]
         */

        private int Total;
        private ResultLastBean resultLast;
        private List<ResultcountBean> resultcount;
        private List<?> resultother;
        private List<ResultBean> result;

        public int getTotal() {
            return Total;
        }

        public void setTotal(int Total) {
            this.Total = Total;
        }

        public ResultLastBean getResultLast() {
            return resultLast;
        }

        public void setResultLast(ResultLastBean resultLast) {
            this.resultLast = resultLast;
        }

        public List<ResultcountBean> getResultcount() {
            return resultcount;
        }

        public void setResultcount(List<ResultcountBean> resultcount) {
            this.resultcount = resultcount;
        }

        public List<?> getResultother() {
            return resultother;
        }

        public void setResultother(List<?> resultother) {
            this.resultother = resultother;
        }

        public List<ResultBean> getResult() {
            return result;
        }

        public void setResult(List<ResultBean> result) {
            this.result = result;
        }

        public static class ResultLastBean {
            /**
             * censusid : e30ed660807911eaa4525587e61f87a2
             * username : 18476742323
             * age : 0
             * gender : 1
             * instrument : 1
             * diseasestate : 正常
             * diseasestateid : 3
             * value : 100
             * province :
             * city :
             * date : 1587107157702
             * remarks : null
             * device_id : 0985d220ff76ecb20d54c29c969656a9
             * suggest : 建议身体健康
             */

            private String censusid;
            private String username;
            private int age;
            private String gender;
            private String instrument;
            private String diseasestate;
            private int diseasestateid;
            private String value;
            private String province;
            private String city;
            private long date;
            private Object remarks;
            private String device_id;
            private String suggest;

            public String getCensusid() {
                return censusid;
            }

            public void setCensusid(String censusid) {
                this.censusid = censusid;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public int getAge() {
                return age;
            }

            public void setAge(int age) {
                this.age = age;
            }

            public String getGender() {
                return gender;
            }

            public void setGender(String gender) {
                this.gender = gender;
            }

            public String getInstrument() {
                return instrument;
            }

            public void setInstrument(String instrument) {
                this.instrument = instrument;
            }

            public String getDiseasestate() {
                return diseasestate;
            }

            public void setDiseasestate(String diseasestate) {
                this.diseasestate = diseasestate;
            }

            public int getDiseasestateid() {
                return diseasestateid;
            }

            public void setDiseasestateid(int diseasestateid) {
                this.diseasestateid = diseasestateid;
            }

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }

            public String getProvince() {
                return province;
            }

            public void setProvince(String province) {
                this.province = province;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public long getDate() {
                return date;
            }

            public void setDate(long date) {
                this.date = date;
            }

            public Object getRemarks() {
                return remarks;
            }

            public void setRemarks(Object remarks) {
                this.remarks = remarks;
            }

            public String getDevice_id() {
                return device_id;
            }

            public void setDevice_id(String device_id) {
                this.device_id = device_id;
            }

            public String getSuggest() {
                return suggest;
            }

            public void setSuggest(String suggest) {
                this.suggest = suggest;
            }
        }

        public static class ResultcountBean {
            /**
             * sum : 1
             * diseasestate : 正常
             * diseasestateid : 3
             */

            private int sum;
            private String diseasestate;
            private int diseasestateid;

            public int getSum() {
                return sum;
            }

            public void setSum(int sum) {
                this.sum = sum;
            }

            public String getDiseasestate() {
                return diseasestate;
            }

            public void setDiseasestate(String diseasestate) {
                this.diseasestate = diseasestate;
            }

            public int getDiseasestateid() {
                return diseasestateid;
            }

            public void setDiseasestateid(int diseasestateid) {
                this.diseasestateid = diseasestateid;
            }
        }

        public static class ResultBean {
            /**
             * censusid : e30ed660807911eaa4525587e61f87a2
             * username : 18476742323
             * age : 0
             * gender : 1
             * instrument : 1
             * diseasestate : 正常
             * diseasestateid : 3
             * value : 100
             * province :
             * city :
             * date : 1587107157702
             * remarks : null
             * device_id : 0985d220ff76ecb20d54c29c969656a9
             * suggest : 建议身体健康
             * diseasestate_describe :
             */

            private String censusid;
            private String username;
            private int age;
            private String gender;
            private String instrument;
            private String diseasestate;
            private int diseasestateid;
            private String value;
            private String province;
            private String city;
            private long date;
            private Object remarks;
            private String device_id;
            private String suggest;
            private String diseasestate_describe;
            private String unit;

            public String getUnit() {
                return unit;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }

            public String getCensusid() {
                return censusid;
            }

            public void setCensusid(String censusid) {
                this.censusid = censusid;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public int getAge() {
                return age;
            }

            public void setAge(int age) {
                this.age = age;
            }

            public String getGender() {
                return gender;
            }

            public void setGender(String gender) {
                this.gender = gender;
            }

            public String getInstrument() {
                return instrument;
            }

            public void setInstrument(String instrument) {
                this.instrument = instrument;
            }

            public String getDiseasestate() {
                return diseasestate;
            }

            public void setDiseasestate(String diseasestate) {
                this.diseasestate = diseasestate;
            }

            public int getDiseasestateid() {
                return diseasestateid;
            }

            public void setDiseasestateid(int diseasestateid) {
                this.diseasestateid = diseasestateid;
            }

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }

            public String getProvince() {
                return province;
            }

            public void setProvince(String province) {
                this.province = province;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public long getDate() {
                return date;
            }

            public void setDate(long date) {
                this.date = date;
            }

            public Object getRemarks() {
                return remarks;
            }

            public void setRemarks(Object remarks) {
                this.remarks = remarks;
            }

            public String getDevice_id() {
                return device_id;
            }

            public void setDevice_id(String device_id) {
                this.device_id = device_id;
            }

            public String getSuggest() {
                return suggest;
            }

            public void setSuggest(String suggest) {
                this.suggest = suggest;
            }

            public String getDiseasestate_describe() {
                return diseasestate_describe;
            }

            public void setDiseasestate_describe(String diseasestate_describe) {
                this.diseasestate_describe = diseasestate_describe;
            }
        }
    }
}
